home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / iagad / i3font.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  968 b   |  44 lines

  1.  
  2. // JavaScript wrapper for i3font.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_IAFONTGADGET_H = 1;
  7. include("real/iagad/i3intact.js")
  8.  
  9.  
  10. var R3CLID_IAFONTGADGET = 1388;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Plug in new font
  16. // Returns: Boolean, true if registration succeeded
  17. // p1: Integer, class id of the font object
  18. // p2: Integer, class id of the font gadget for the toolbar
  19. // p3: String, name of the font
  20.  
  21. R3CIAFONTGADM_REGISTERFONT = 1388000;
  22.  
  23. function mR3CIAFONTGADM_REGISTERFONT(p1, p2, p3) {
  24.   return   DoA3(this.r3obj, 1388000, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
  25. }
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32. function r3Iafontgadget () { 
  33.    this.base = r3God;
  34.    if(arguments.length) {
  35.       this.base(R3CLID_IAFONTGADGET, arguments);
  36.    }
  37.    // Methods
  38.    this.REGISTERFONT=mR3CIAFONTGADM_REGISTERFONT;
  39.  
  40.    // Attributes
  41. }
  42.  
  43. r3Iafontgadget.prototype=new r3Iacontrolgadget;
  44. // i3font.h_H